Skip to content
This repository was archived by the owner on Jan 19, 2026. It is now read-only.

Add slug parameter to migration template#126

Open
Myst1024 wants to merge 2 commits into
storyblok:masterfrom
Myst1024:add-slug-to-migration-template
Open

Add slug parameter to migration template#126
Myst1024 wants to merge 2 commits into
storyblok:masterfrom
Myst1024:add-slug-to-migration-template

Conversation

@Myst1024
Copy link
Copy Markdown

@Myst1024 Myst1024 commented Oct 16, 2024

Pull request type

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Other (please describe):

How to test this PR

  • Run storyblok generate-migration
  • The generated migration file should include a second slug parameter

What is the new behavior?

  • Adds the currently-undocumented slug argument to the template generated by `generation-migration
  • Updates the Readme accordingly

Other information

The slug is already being passed into the migration function here

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant